﻿using nplJobsCommon.JobSeeker;
using nplJobsDAL.Select;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nplJobsBLL.ProcessJob
{
    public class ProcessSelectAppliedJobByParam
    {
       public List<AppliedJobToDisplay> AppliedJobToDisplay { get; set; }
       public string JobTitle { get; set; }
       public string Location { get; set; }
       public int Deadline{ get; set; }
       public Guid JobSeekerId { get; set; }

        public void invoke()
        {
            SelectAppliedJobByParam appliedJobToDisplay = new SelectAppliedJobByParam();
            appliedJobToDisplay.JobTitle = this.JobTitle;
            appliedJobToDisplay.Location = this.Location;
            appliedJobToDisplay.Deadline = this.Deadline;
            appliedJobToDisplay.JobSeekerId = this.JobSeekerId;
            this.AppliedJobToDisplay = appliedJobToDisplay.GetAppliedJobToDisplay();
        }

    }
}
